package com.bw.lyc.mvp.contract;

import com.bw.lyc.mvp.base.model.BaseEntity;
import com.bw.lyc.mvp.base.model.IModel;
import com.bw.lyc.mvp.base.view.IView;

import java.util.Map;

import io.reactivex.Observable;

public interface FrameContact {
    interface IFrameModel  extends IModel {
        Observable<BaseEntity> request(Map<String,Object> map);

    }
    interface IFrameView  extends IView {
        //当新版本更新 p层通过回调接口 传递回三方更新框架 upgrade
        // 更新信息一以及下载地址
        Void refresh(Map<String,Object> resultmap);
    }

}
